#ifndef QTVISIONTEST_FRMCREATEROI_H
#define QTVISIONTEST_FRMCREATEROI_H

#include <QDialog>
#include <QGridLayout>
#include <QHBoxLayout>
#include <QTabWidget>
#include <QGroupBox>
#include <QLabel>
#include <QLineEdit>
#include <QPushButton>
#include <QComboBox>
#include <QSpacerItem>

class frmCreateRoi : public QDialog
{
Q_OBJECT
public:
    explicit frmCreateRoi(QWidget *parent = nullptr);

private:
    void setupUi();

public:
    QGridLayout *gridLayout;

    QTabWidget *tabWidget;

    // tab 基本设置
    QWidget *tab;
    QGroupBox *groupC1;
    QLabel *label_4;
    QLineEdit *txtLinkImage;
    QPushButton *btnLinkImage;
    QPushButton *btnDelLinkImage;

    QGroupBox *groupC2;
    QLabel *label_6;
    QLineEdit *txtLinkContour;
    QPushButton *btnLinkContour;
    QPushButton *btnDelLinkContour;

    QGroupBox *groupC3;
    QLabel *label_5;
    QComboBox *comboType;

    // 右侧空的布局占位 imageLayout
    QVBoxLayout* imageLayout;  // 原本可能是 QGridLayout* imageLayout;

    // 下面的执行区域
    QLabel *label_3;
    QLineEdit *txtDescribe;
    QPushButton *btnExecute;
};

#endif //QTVISIONTEST_FRMCREATEROI_H
